use swc_common::Span;
use swc_ecma_ast::*;

pub trait KeyValuePropTrait {
    fn get_key_name(&self) -> String;
    fn get_value_as_object_lit(&self) -> Option<ObjectLit>;
    fn get_value_span(&self) -> Result<Span, std::io::Error>;
}
